Nix Flake Cleanup#272
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the development environment by adding arduino-cli, automating ESP32 core installation, and silencing pip version checks. Feedback was provided to include the necessary Espressif board manager URL to prevent installation failures and to optimize the Python package installation process by only running pip install when requirements.txt is modified.
|
/gemini review |
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request refactors the Nix development environment by moving shell hook logic into a dedicated nix-hook.sh script and optimizing Python dependency installation using a sentinel file. It also updates the .gitignore for Arduino-cli files and increments the license copyright year. Review feedback identifies critical issues regarding the use of set -e and exit within a sourced script, which can unintentionally terminate the user's interactive shell session. Additionally, it was noted that chmod +x is unnecessary when sourcing a script.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
No description provided.